#if !defined(AFX_GSDATASHOWVIEW_H__B5BDEC53_4FCD_471C_BC78_62003DFC8572__INCLUDED_)
#define AFX_GSDATASHOWVIEW_H__B5BDEC53_4FCD_471C_BC78_62003DFC8572__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// GSDataShowView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CGSDataShowView form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

#include "GStationDoc.h"
#include "fmanager/FlyNode.h"
#include "ShowData.h"

class CGSDataShowView : public CFormView
{
public:
    CGSDataShowView();       
protected:
	         // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CGSDataShowView)

// Form Data
public:
	//{{AFX_DATA(CGSDataShowView)
	enum { IDD = IDD_FORMVIEW_Showdata };
	CComboBox	m_RateSelect;
	CListCtrl	m_SelectData;
    CShowData	m_DataShow1;
	CComboBox	m_DataType;
	CString	m_FileName;
	//}}AFX_DATA

// Attributes
public:
    CGStationDoc * doc;
// Operations
public:
	int rate;
	int number;
	int select[10];
    float data[31][5];
	int count;

	CString fname;
	GSFlyData * flydata;
	CFlyNode *fly_node;
	CGStationDoc * GetDocument();
	
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGSDataShowView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CGSDataShowView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CGSDataShowView)
	afx_msg void OnButtonOpenfile();
	afx_msg void OnButtonConfirm();
	afx_msg void OnCancelselection();
	afx_msg void OnDataShowback();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnStopShow();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_GSDATASHOWVIEW_H__B5BDEC53_4FCD_471C_BC78_62003DFC8572__INCLUDED_)
